package com.rmb.engine.service;

import com.rmb.engine.entity.Dictionary;

import java.util.List;

/**
 * @Author ZhaoMuYang
 * @Date 2021/1/6 19:35
 */
public interface DictionaryService {

    /**
     *list
     * @return
     */
    List<Dictionary> findList();

    /**
     * addDictionary
     * @param dictionary
     * @return
     */
    Dictionary addDictionary(Dictionary dictionary);

    /**
     * 字典修改
     * @param dictionary
     * @return
     */
    Dictionary update(Dictionary dictionary);

    /**
     * 字典删除
     * @param id
     */
    void del(Long id);
}
